package com.holyn.guofang.model.webhttp.wo;

import java.io.Serializable;

/**
 * Created by Holyn on 2017/6/6.
 *
 * 用户登录接口返回的webservice object
 */

public class UserInfoWo implements Serializable{

    private static final long serialVersionUID = 11112222L;


    /**
     * status : 1
     * userID : 23
     * loginID : 123
     * checkCode : sadfsadiuyre8ewr23
     * userInfo : {"userName":"zhanghua","name":"张 华","mobile":"13524102365","email":"abc@ddd.com","address":"佛 山 祖 庙 路","country":"中 国","area":"广 东 佛 山","contact":"李 红","contactTel":"85421364","contactMobile":"18923654213","contactEmail":"def@dfa.cn","isMainDevice":false,"deviceCount":2,"userCard":{"cardType":1,"activeTime":"2017-06-29","endTime":"2020-06-29","validMethod":0,"remainCount":50,"equipmentCount":4,"attachedCardCount":3}}
     */

    private int status;
    private int userID;
    private int loginID;
    private String checkCode;
    private UserInfoBean userInfo;
    private String err;

    public String getErr() {
        return err;
    }

    public void setErr(String err) {
        this.err = err;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public int getLoginID() {
        return loginID;
    }

    public void setLoginID(int loginID) {
        this.loginID = loginID;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }

    public static class UserInfoBean {
        /**
         * userName : zhanghua
         * name : 张 华
         * mobile : 13524102365
         * email : abc@ddd.com
         * address : 佛 山 祖 庙 路
         * country : 中 国
         * area : 广 东 佛 山
         * contact : 李 红
         * contactTel : 85421364
         * contactMobile : 18923654213
         * contactEmail : def@dfa.cn
         * isMainDevice : false
         * deviceCount : 2
         * userCard : {"cardType":1,"activeTime":"2017-06-29","endTime":"2020-06-29","validMethod":0,"remainCount":50,"equipmentCount":4,"attachedCardCount":3}
         */

        private String userName;
        private String name;
        private String mobile;
        private String email;
        private String checkMethod;
        private String address;
        private String country;
        private String area;
        private String contact;
        private String contactTel;
        private String contactMobile;
        private String contactEmail;
        private boolean isMainDevice;
        private String deviceRemark;
        private int deviceCount;
        private UserInfoBean.UserCardBean userCard;

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getCheckMethod() {
            return checkMethod;
        }

        public void setCheckMethod(String checkMethod) {
            this.checkMethod = checkMethod;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String contact) {
            this.contact = contact;
        }

        public String getContactTel() {
            return contactTel;
        }

        public void setContactTel(String contactTel) {
            this.contactTel = contactTel;
        }

        public String getContactMobile() {
            return contactMobile;
        }

        public void setContactMobile(String contactMobile) {
            this.contactMobile = contactMobile;
        }

        public String getContactEmail() {
            return contactEmail;
        }

        public void setContactEmail(String contactEmail) {
            this.contactEmail = contactEmail;
        }

        public boolean getIsMainDevice() {
            return isMainDevice;
        }

        public void setIsMainDevice(boolean isMainDevice) {
            this.isMainDevice = isMainDevice;
        }

        public String getDeviceRemark() {
            return deviceRemark;
        }

        public void setDeviceRemark(String deviceRemark) {
            this.deviceRemark = deviceRemark;
        }

        public int getDeviceCount() {
            return deviceCount;
        }

        public void setDeviceCount(int deviceCount) {
            this.deviceCount = deviceCount;
        }

        public UserInfoBean.UserCardBean getUserCard() {
            return userCard;
        }

        public void setUserCard(UserInfoBean.UserCardBean userCard) {
            this.userCard = userCard;
        }

        public static class UserCardBean {
            /**
             * cardType : 1
             * activeTime : 2017-06-29
             * endTime : 2020-06-29
             * validMethod : 0
             * remainCount : 50
             * equipmentCount : 4
             * attachedCardCount : 3
             */

            private int cardType;
            private String activeTime;
            private String endTime;
            private int validMethod;
            private int remainCount;
            private int equipmentCount;
            private int attachedCardCount;

            public int getCardType() {
                return cardType;
            }

            public void setCardType(int cardType) {
                this.cardType = cardType;
            }

            public String getActiveTime() {
                return activeTime;
            }

            public void setActiveTime(String activeTime) {
                this.activeTime = activeTime;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public int getValidMethod() {
                return validMethod;
            }

            public void setValidMethod(int validMethod) {
                this.validMethod = validMethod;
            }

            public int getRemainCount() {
                return remainCount;
            }

            public void setRemainCount(int remainCount) {
                this.remainCount = remainCount;
            }

            public int getEquipmentCount() {
                return equipmentCount;
            }

            public void setEquipmentCount(int equipmentCount) {
                this.equipmentCount = equipmentCount;
            }

            public int getAttachedCardCount() {
                return attachedCardCount;
            }

            public void setAttachedCardCount(int attachedCardCount) {
                this.attachedCardCount = attachedCardCount;
            }
        }
    }
}
